package controllers.listeners.lexicon;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import views.ViewLexicon;

/* Loads the data for the selected label / syntactic category */
/* actionPerformed when you click the "Go" button */
public class LoadSyntacticCategoryActionListener implements ActionListener {
	
	private ViewLexicon view;
	
	public LoadSyntacticCategoryActionListener() {
		view = null;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		view.refreshTable();
	}
	
	public void setView(ViewLexicon view) {
		this.view = view;
	}
	
}
